package com.sys.domain;

/**
 * @ClassName: File 
 * @Description: TODO(文件信息的域模型类) 
 * @author 詹金浩 
 * @date 2018年3月8日 上午11:19:43
 */
public class File implements Comparable<File> {
	//文件的id（唯一）
	private String fileId;
	//文件上传者
	private String upUser;
	//文件所属的类别
	private String fileType;
	//文件所处的状态（未审批、被冻结、正常）
	private String status;
	//文件上传的时间
	private String upTime;
	//文件的大小
	private Long size;
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public String getUpUser() {
		return upUser;
	}
	public void setUpUser(String upUser) {
		this.upUser = upUser;
	}
	public String getFileType() {
		return fileType;
	}
	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getUpTime() {
		return upTime;
	}
	public void setUpTime(String upTime) {
		this.upTime = upTime;
	}
	public Long getSize() {
		return size;
	}
	public void setSize(Long size) {
		this.size = size;
	}
	@Override
	public int compareTo(File o) {
		return o.getUpTime().compareTo(upTime);
	}
}